package cn.ljy.quicksnip.web.controller.backstage.qs;


import cn.ljy.authority.web.controller.backstage.BaseBackstageController;
import cn.ljy.quicksnip.model.QsProject;
import cn.ljy.quicksnip.model.QsTimeBlock;
import cn.ljy.quicksnip.model.query.QsProjectQuery;
import cn.ljy.quicksnip.model.query.QsTimeBlockQuery;
import cn.ljy.quicksnip.service.QsProjectService;
import cn.ljy.quicksnip.service.QsTimeBlockService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "时间块模块")
@RestController
@RequestMapping(value = "/backstage/qs/block")
public class QsTimeBlockController extends BaseBackstageController<QsTimeBlock, QsTimeBlockQuery,Long> {

    @Autowired
    private QsTimeBlockService baseService;

    @Override
    protected String getAuthorityPrefix() {
        return "qs:block"; // 定义模块权限前缀
    }
}
